home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / comm / bbs / citsrc6K05.lha / util_lib.c < prev    next >
C/C++ Source or Header  |  1996-10-20  |  1KB  |  40 lines

  1. #include "ctdl.h"
  2. #include "stdio.h"
  3. #include "string.h"
  4. #include "stdlib.h"
  5. CONFIG    cfg;                   /* A buncha variables           */
  6. LogTable  *logTab;               /* RAM index of pippuls         */
  7. NetTable  *netTab;               /* RAM index of nodes           */
  8. rTable    *roomTab;              /* RAM index of rooms           */
  9. EVENT     *EventTab = NULL;
  10. char             *indexTable = "ctdlTabl.sys";
  11. struct floor     *FloorTab;
  12. int              TopFloor;
  13. extern char *R_W_ANY;
  14. int debug_flag = 0;
  15.  
  16. logBuffer logBuf;                       /* Log buffer of a person       */
  17. logBuffer logTmp;                       /* Useful global buffer         */
  18. int       thisLog;                      /* entry currently in logBuf    */
  19. FILE      *logfl;                       /* log file descriptor          */
  20. static struct
  21.   {
  22.   int checkMark;                      /* rudimentary integrity        */
  23.   int cfgSize;                        /* sizeof cfg                   */
  24.   int logTSize;                       /* logtab size                  */
  25.   int endMark;                        /* another integrity check      */
  26.  
  27.   }  integrity;
  28. extern char *R_W_ANY;
  29. void *FindServes();
  30. SListBase Serves =
  31.   {
  32.   NULL, FindServes, NULL, free, NULL
  33.  
  34.   };
  35.  
  36. #define CHKM    7       /* major release        */
  37. #define ENDM    8
  38.  
  39.  
  40.